<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('服务商注销')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-agentInfo-trialAgent">
            <div class="form-group">
                <input name="type" value="1" type="hidden">
                <label class="col-sm-3 control-label is-required">服务商编号：</label>
                <div class="col-sm-8">
                    <input type="text" name="agentNum" th:value="${agentInfo.agentNum}" class="form-control" readonly/>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">服务商名称：</label>
                <div class="col-sm-8">
                    <input type="text" name="agentName" th:value="${agentInfo.agentName}" class="form-control" readonly/>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">审核状态：</label>
                <div class="col-sm-8">
                    <label class="radio-box">
                        <input type="radio" checked="" value="1" name="radioType" >通过</label>
                    <label class="radio-box">
                        <input type="radio" value="0" name="radioType">打回</label>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">备注：</label>
                <div class="col-sm-8">
                    <textarea type="text" name="note" class="form-control" placeholder="请输入文本" required></textarea>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "agentInfo/agentInfo";
        $("#form-agentInfo-trialAgent").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/trialAgent", $('#form-agentInfo-trialAgent').serialize());
            }
        }

    </script>
</body>
</html>